package com.woniuxy.orderclient.client;

import com.woniuxy.core.model.Result;
import com.woniuxy.orderclient.client.dto.VenueLoginDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("venue-server")
public interface VenueFeignClient {
    //基于场馆id查询场馆详情
    @GetMapping("/venue/venueInfo/byId")
    public Result<VenueLoginDto> byId(@RequestParam("venueId") Integer venueId);
}
